package com.fulin.reference;

public class CountAllCheck implements CountCheck{
	
	private CountCheck countCheck = new CountMonthCheck();
	
	private int allLimit = 0;

	@Override
	public boolean check() {
		if(allLimit <= 0){
			return countCheck.check();
		}else{
			//自己的业务逻辑
			return true;
		}
	}

}
